package com.fa4j.system.notice.model;


import com.fa4j.common.base.model.AbstractCmd;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
@Schema(description = "系统通知创建参数")
public class NoticeCreateCmd extends AbstractCmd {

    @NotNull
    @Schema(description = "账号ID")
    private Long accountId;

    @NotBlank
    @Size(max = 64)
    @Schema(description = "消息标题")
    private String title;

    @NotBlank
    @Size(max = 2048)
    @Schema(description = "消息内容")
    private String content;

    @Size(max = 1024)
    @Schema(description = "跳转路径")
    private String link;

}
